<template>
  <transition name="fade" mode="out-in" appear>
    <component class="login-component" :is="status" ref="status" Key="status" @status="changeInfo"></component>
  </transition>
<!--        <AdminInfo></AdminInfo>-->
</template>

<script>
import AdminInfo from "@/components/admin/adminInfo/AdminInfo";
import AdminChange from "@/components/admin/adminInfo/AdminChange";
export default {
  name: "AdminPerson",
  components: {AdminInfo,AdminChange},
  data() {
    return {
      status: 'AdminInfo',
    }
  },
  methods:{
    changeInfo(option) {
      this.status = option;
    }
  }
}
</script>
